package com.acme.bankapp.email;

import com.acme.bankapp.domain.Client;

/**
 * Created by Java Student on 11/21/2014.
 */
public class Email {
    private Client client;
    private String emailAddress;

    public Email(Client client, String emailAddress) {
        this.client = client;
        this.emailAddress = emailAddress;
    }

    @Override
    public String toString() {
        return "Email{" +
                "client=" + client +
                ", emailAddress='" + emailAddress + '\'' +
                '}';
    }
}
